package com.chuangke.file.util;

public class FileElasticUtil{

	public static String getIndexSql(){
		return "{\"dynamic\":false,\"properties\":{\"id\":{\"type\":\"long\"},\"title\":{\"type\":\"text\",\"index\":true,	\"analyzer\":\"ik_max_word\"},\"version\":{\"type\":\"long\"},\"suffix\":{\"type\":\"keyword\"},\"mimeType\":{\"type\":\"keyword\"},\"size\":{\"type\":\"long\"},\"md5hex\":{\"type\":\"keyword\"},\"content\":{\"type\":\"text\",\"index\":true,\"analyzer\":\"ik_max_word\"},\"dbankId\":{\"type\":\"keyword\"},	\"dbankBelongId\":{\"type\":\"keyword\"},	\"dbankBelongType\":{\"type\":\"keyword\"},\"downloadCount\":{\"type\":\"long\"},\"downloadPeopleCount\":{\"type\":\"long\"},\"remarks\":{\"type\":\"text\",\"index\":true,\"analyzer\":\"ik_max_word\"},\"createdBy\":{\"type\":\"keyword\"},\"createdAt\":{\"type\":\"date\"},\"updatedBy\":{\"type\":\"keyword\"},\"updatedAt\":{\"type\":\"date\"}}}" ;
	}

}
